depends make &&
depends libtool &&
depends openssl &&

optional_depends -sub "1.0" openssl \
                            "--enable-gost" \
                            "--disable-gost" \
                            "for GOST support" &&

optional_depends -sub PYTHON swig \
                             "--with-pyldns" \
                             "--without-pyldns" \
                             "to generate Python library" &&

if is_depends_enabled $SPELL swig; then
  config_query_option LDNS_OPTS "Install ldnsx Python module?" y \
                                "--with-pyldnsx" \
                                "--without-pyldnsx"
fi
