  . "${GRIMOIRE}/MESON_DEPENDS" &&
depends  libtool &&
depends  PKG-CONFIG &&
depends  which &&

  optional_depends  libx11 \
                    "x11_autolaunch=enabled" \
                    "x11_autolaunch=disabled" \
                    "X11 autolaunch support" &&

  optional_depends  systemd \
                    "systemd=enabled systemd_system_unitdir=${INSTALL_ROOT}/etc/systemd/system systemd_user_unitdir=${INSTALL_ROOT}/etc/systemd/user" \
                    "systemd=disabled" \
                    "systemd support"  &&

  optional_depends  doxygen \
                    "doxygen_docs=enabled" \
                    "doxygen_docs=disabled" \
                    "API documentation" &&

  optional_depends  xmlto \
                    "xml_docs=enabled" \
                    "xml_docs=disabled" \
                   "docs in XML format"

if is_depends_enabled "${SPELL}" "libx11"; then
  depends libsm  &&
  depends libice
fi

