. "$GRIMOIRE"/CMAKE_FUNCTIONS
           SPELL=xss-lock
         VERSION=0.3.0
    VERSION_HASH=94aec045ffd6
          SOURCE="$SPELL-$VERSION.tar.bz2"
   SOURCE_URL[0]=https://bitbucket.org/raymonad/${SPELL}/get/v${VERSION}.tar.bz2
     SOURCE_HASH=sha512:2608f2dee315ab6ea5493348c6284a1dbec2d1eb478a54199aba6dcf247980a0ee822e40238399e38cdbfc50e4592cfb697de48216edf7ea407b65345afb99b3
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/raymonad-${SPELL}-${VERSION_HASH}"
        WEB_SITE="https://bitbucket.org/raymonad/xss-lock"
      LICENSE[0]=MIT
         ENTERED=20220524
           SHORT="use external locker as X screen saver"
cat << EOF
xss-lock hooks up your favorite locker to the MIT screen saver extension
for X and also to systemd's login manager.

xss-lock waits for the locker to exit -- or kills it when screen saver
deactivation or session unlocking is forced -- so the command should not fork.

Also, xss-lock manages the idle hint on the login session. The idle state
of the session is directly linked to user activity as reported by X (except
when the notifier runs before locking the screen). When all sessions are
idle, the login manager can take action (such as suspending the system)
after a preconfigured delay.
EOF
