depends glib2                                 &&
depends xz-utils                              &&
depends zlib                                  &&
depends gpgme                                 &&
depends FUSE                                  &&

optional_depends gobject-introspection \
                 '--enable-introspection=yes'\
                 '--enable-introspection=no' \
                 'enable introspection' &&

optional_depends curl                                         \
                 '--with-curl=yes --with-soup=no'             \
                 '--with-curl=no'                             \
                'Use curl over libsoup? (recommended)'        &&

if ! is_depends_enabled "${SPELL}" curl; then
  depends libsoup '--with-soup=yes'
fi &&

optional_depends libarchive                                    \
                 '--with-libarchive=yes'                       \
                 '--with-libarchive=no'                        \
                 'Build with libarchive support?'              &&

optional_depends libselinux                                    \
                 '--with-selinux=yes'                          \
                 '--with-selinux=no'                           \
                 'Build with selinux support?'                 &&

optional_depends systemd                                       \
                 ''                                            \
                 '--with-libsystemd=no'		                     \
                 'Build with systemd support?'                 &&

optional_depends dracut                                        \
                 '--with-dracut=yes'                           \
                 ''                                            \
                 'Build dracut modules?'                       &&

optional_depends docbook-xsl                                   \
                 ''                                            \
                 '--enable-man=no'                             \
                 'generate man-pages?'                         &&

optional_depends gtk-doc                                       \
                 '--enable-gtk-doc=yes'                        \
                 ''                                            \
                 'generate documentation?'
