depends  g++                                                            &&
depends  zlib                                                           &&
depends  curl                                                           &&
depends  bc                                                             &&
if [[ $BZF_VERSION != release ]]; then
  depends subversion
fi                                                                      &&
if [[ $BZF_VERSION == v2_0_cs_branch ]]; then
  depends crystalspace
fi                                                                      &&
optional_depends  ncurses                                               \
                  "--enable-bzadmin"                                    \
                  "--disable-bzadmin"                                   \
                  "Build bzadmin text mode client"                      &&
if list_find "$BZF_OPTS" "--enable-client" ; then
depends  glew                                                           &&
depends  c-ares                                                         &&
depends  OPENGL                                                         &&
depends  X11-LIBS                                                       &&
. $GRIMOIRE/FUNCTIONS
if check_if_xorg_modular_libs ; then
  depends libxi                                                         &&
  depends libxxf86vm
fi                                                                      &&
depends  sdl  "--with-sdl"
fi                                                                      &&
optional_depends  krb5                                                  \
                  "--with-kerberos"                                     \
                  "--without-kerberos"                                  \
 "for Kerberos authentication support(completly unsupported upstream)"  &&
optional_depends  adns                                                  \
                  ""                                                    \
                  ""                                                    \
                  "hostmask based bans"
