depends enchant-2 &&

optional_depends gtk+3 \
                 "--enable-gtk3" \
                 "--disable-gtk3" \
                 "to build with gtk+3" &&

optional_depends gtk+2 \
                 "--enable-gtk2" \
                 "--disable-gtk2" \
                 "to build with gtk+3" &&

if ! is_depends_enabled $SPELL gtk+3 && ! is_depends_enabled $SPELL gtk+2; then
 depends gtk+3 "--enable-gtk3"
fi &&

optional_depends gobject-introspection \
                 "--enable-introspection=yes" \
                 "--enable-introspection=no" \
                 "for introspection support" &&

optional_depends gtk-doc "--enable-gtk-doc" "--disable-gtk-doc" "for documentation"
