depends  pcre  &&
depends  courier-unicode &&

case  ${MAILDROP_AUTHDB}  in
      db)    depends  db    "--with-db=db"
             ;;
      gdbm)  depends  gdbm  "--with-db=gdbm"
             ;;
      none)  OPTS="${OPTS}  --without-db"
             ;;
esac  &&

if  [  "${MAILDROP_AUTHLIB}"  ==  ""  ]
then
  depends  courier-authlib  &&

  optional_depends  "openldap"                                                  \
                    ""                                                          \
                    ""                                                          \
                    "to store mail account configuration in an LDAP database."  &&

  optional_depends  "MYSQL"                                                     \
                    ""                                                          \
                    ""                                                          \
                    "to store mail account configuration in a MySQL database."  &&

  optional_depends  "postgresql"                                                     \
                    ""                                                               \
                    ""                                                               \
                    "to store mail account configuration in a Postgresql database."
fi

