if [[ "${DOVECOT_SSL:-none}" != 'none' ]]; then
  depends "$DOVECOT_SSL" "--with-ssl=$DOVECOT_SSL"
fi &&
optional_depends linux-pam \
                 '--with-pam' \
                 '--without-pam' \
                 'for PAM support' &&
optional_depends cyrus-sasl \
                 '' \
                 '' \
                 'for Cyrus-sasl authentification support' &&
optional_depends openldap \
                 '--with-ldap' \
                 '--without-dap' \
                 'Enable LDAP support'           &&
optional_depends mysql \
                 '--with-mysql' \
                 '--without-mysql' \
                 'for MySQL support' &&
optional_depends postgresql \
                 '--with-pgsql' \
                 '--without-pgsql' \
                 'for PostgreSQL support' &&
optional_depends sqlite \
                 '--with-sqlite' \
                 '--without-sqlite' \
                 'for SQLite support'
