. "$GRIMOIRE"/VDEPENDS        &&
. "${GRIMOIRE}/MESON_DEPENDS" &&

depends python3 &&
depends DEVICE-MANAGER &&
depends cairo &&
depends pango &&
depends pcre2 &&
vdepends <<!
	json-c >= 0.13
	libinput >= 1.6.0
	wayland >= 1.20.0
	wayland-protocols >= 1.24
!

depends -sub "SWAY" wlroots &&

optional_depends gdk-pixbuf2 \
                 'gdk-pixbuf=enabled' \
								 'gdk-pixbuf=disabled' \
								 'Enable support for more image formats in swaybar tray' &&

optional_depends linux-pam \
                 "" \
                 "" \
                 "PAM support for swaylock" &&

optional_depends xwayland            \
                 "xwayland=enabled"  \
								 "xwayland=disabled" \
                 "X11 support"       &&

optional_depends LOGIN-DAEMON '' '' 'provide sd-bus library' &&

optional_depends scdoc                \
                 'man-pages=enabled'  \
								 'man-pages=disabled' \
                 'build man pages'    &&

optional_depends bash-completion                   \
                 'bash-completions=true'           \
								 'bash-completions=false'          \
                 'Install bash shell completions?' &&

optional_depends zsh                               \
                 'zsh-completions=true'            \
								 'zsh-completions=false'           \
								 'Install zsh shell completions?'  &&

optional_depends fish                              \
                 'fish-completions=true'           \
								 'fish-completions=false'          \
								 'Install fish shell completions?'
