depends PKG-CONFIG &&

optional_depends dbus \
                 "-DHAVE_DBUS" \
                 "" \
                 "for DBus interface support" &&

optional_depends libidn \
                 "-DHAVE_IDN" \
                 "" \
                 "for international domain name 2003 support" &&

optional_depends libidn2 \
                 "-DHAVE_LIBIDN2" \
                 "" \
                 "for international domain name 2008 support" &&

optional_depends libnetfilter_conntrack \
                 "-DHAVE_CONNTRACK" \
                 "" \
                 "for conntrack support" &&

optional_depends LUA \
                 "-DHAVE_LUASCRIPT" \
                 "" \
                 "for Lua scripting support" &&

optional_depends nettle \
                 "-DHAVE_DNSSEC" \
                 "" \
                 "for DNSSEC validator support" &&

if is_depends_enabled $SPELL nettle; then
  depends gmp
fi &&

optional_depends nftables \
                 "-DHAVE_NFTSET" \
                 "" \
                 "for nftset support" &&

optional_depends gettext "" "" "for i18n support"
