depends           "ncurses"                                        &&
depends           "openssl"                                        &&
depends           "zlib"                                           &&
depends           "MPG123"                                         &&

if [[ ${ASTERISK_DOXYGEN} == "y" ]]
then
  depends         "doxygen"
fi                                                                 &&

optional_depends  "asterisk-sounds"                                 \
                  ""                                                \
                  ""                                                \
                  "for additional sounds"                          &&

optional_depends  "alsa-lib"                                        \
                  "--with-asound"                                   \
                  "--without-asound"                                \
                  "for making calls from the asterisk console"     &&

optional_depends  "speex"                                           \
                  "--with-speex"                                    \
                  "--without-speex"                                 \
                  "support for the speex codec"                    &&

optional_depends  "libvorbis"                                       \
                  "--with-vorbis"                                   \
                  "--without-vorbis"                                \
                  "support for the ogg-vorbis codec"               &&

optional_depends  "postgresql"                                      \
                  "--with-postgres"                                 \
                  "--without-postgres"                              \
                  "for postgresql as database backend"             &&

optional_depends  "sqlite"                                          \
                  "--with-sqlite"                                   \
                  "--without-sqlite"                                \
                  "for sqlite as database backend"                 &&

optional_depends  "net-snmp"                                        \
                  "--with-netsnmp"                                  \
                  "--without-netsnmp"                               \
                  "to monitor and configure asterisk with snmp"    &&

optional_depends  "libpri"                                          \
                  "--with-pri"                                      \
                  "--without-pri"                                   \
                  "to use your ISDN card with asterisk"            &&

optional_depends  "newt"                                            \
                  "--with-newt"                                     \
                  "--without-newt"                                  \
                  "to build the manger interface client \"astman\"" 
