if [[ $ALPINE_TOPAL == y ]]; then
  depends ada  &&
  depends gnupg
fi  &&
optional_depends openssl                                                  \
                 "--with-ssl-dir=$INSTALL_ROOT/usr                        \
                 --with-ssl-certs-dir=$INSTALL_ROOT/etc/ssl/certs         \
                 --with-ssl-include-dir=$INSTALL_ROOT/usr/include/openssl \
                 --with-ssl-lib-dir=$INSTALL_ROOT/usr/lib"                \
                 "--without-ssl"                                          \
                 "for SSL/TLS support"                                   &&

# it doesn't detect TCL as much as i have tried
#optional_depends tcl '--with-tcl-lib'  '--without-tcl'                       \
#                     'for Web Alpine support'                                &&

optional_depends openldap                                                 \
                 '--with-ldap-dir'                                        \
                 '--without-ldap'                                         \
                 'for LDAP support'                                      &&

optional_depends krb5                                                     \
                 '--with-krb5-dir'                                        \
                 '--without-krb5'                                         \
                 'for Kerberos support'                                  &&

optional_depends MAIL-TRANSPORT-AGENT                                     \
                 ''                                                       \
                 ''                                                       \
                 'for local mail transport'                              &&

optional_depends SPELLING                                                 \
                 ''                                                       \
                 ''                                                       \
                 'for spell checking support'
