depends libxml2  &&
if [[ "$ARIA2_TLS" == "gnutls" ]]
then
depends gnutls "--with-gnutls --without-openssl"
elif [[ "$ARIA2_TLS" == "openssl" ]]
then
depends openssl "--without-gnutls --with-openssl"
fi                                                  &&
optional_depends libgcrypt                          \
                 ""                                 \
                 ""                                 \
                 "Do you want bittorrent support?"  &&
depends g++
