. "${GRIMOIRE}/MESON_DEPENDS" &&

depends  xcb-util  &&
depends  pcre2 &&
depends  libxcb &&
depends  libxkbcommon &&
depends  startup-notification &&
depends  libev  &&
depends  yajl  &&
depends  libxcursor &&
depends  xkeyboard-config &&
depends  xcb-util &&
depends  xcb-util-wm &&
depends  xcb-util-keysyms &&
depends  xcb-util-cursor &&
depends  xcb-util-xrm &&
depends  pango &&
depends  cairo &&
depends  PKG-CONFIG &&

optional_depends  asciidoc  'docs=true'  'docs=false'  'to regenerate the hacking-howto'  &&
optional_depends  xmlto     'mans=true'  'mans=false'  'to regenerate the manpage'  &&
if is_depends_enabled $SPELL xmlto; then
  depends asciidoc "docs=true"
fi

suggest_depends  xmessage  ''  ''  'for the welcome message'  &&
suggest_depends  perl '' '' \
		 'for config migration, dmenu app launcher, and i3-save-tree' &&
if is_depends_enabled $SPELL perl; then
  runtime_depends anyevent &&
  runtime_depends perl-json-xs
fi &&
suggest_depends  i3lock   ''  ''  'for a screen locker'  &&
suggest_depends  i3status ''  ''  'for status bar information' &&
suggest_depends  dmenu    ''  ''  'for a dmenu-based application launcher'
