depends perl  &&
depends glib2 &&

optional_depends gtk-doc \
                 "--enable-gtk-doc" \
                 "--disable-gtk-doc" \
                 "Build documentation with gtk-doc" &&

optional_depends gobject-introspection \
                 "--enable-introspection" \
                 "--disable-introspection" \
                 "for introspection support" &&

if is_depends_enabled $SPELL gobject-introspection; then
  optional_depends vala \
                   "--enable-vala" \
                   "--disable-vala" \
                   "for Vala bindings"
fi &&

optional_depends libgcrypt \
                 "--enable-gcrypt" \
                 "--disable-gcrypt" \
                 "for gcrypt and transport encryption"
