depends PKG-CONFIG '--enable-pkgconfig' &&
depends libxml2   '--with-libxml=/usr' &&
if is_depends_enabled libxml2 icu;then
  depends icu
fi &&
optional_depends libxslt '--with-libxslt=/usr' '--without-libxslt' 'for XSLT-related functions' &&
echo &&
message "You have to pick at least one of the following dependencies!" &&
optional_depends gnutls  '--with-gnutls=/usr'  '--without-gnutls'  'for encrypted communications' &&
optional_depends nss     '--with-nss=/usr'     '--without-nss'     'for encrypted communications' &&
optional_depends SSL '--with-openssl=/usr' '--without-openssl' 'for encrypted communications' &&

if ! is_depends_enabled $SPELL gnutls &&
   ! is_depends_enabled $SPELL nss &&
   ! is_depends_enabled $SPELL libressl &&
   ! is_depends_enabled $SPELL openssl; then

  message "${PROBLEM_COLOR}No backend was chosen, forcing SSL!$DEFAULT_COLOR"
  depends SSL
fi
