. "${GRIMOIRE}/FUNCTIONS"
. "${GRIMOIRE}/CMAKE_FUNCTIONS"
           SPELL="hyprwire"
if [[ "${HYPRWIRE_BRANCH}" == "scm" ]]; then
         VERSION="$(get_scm_version)"
          SOURCE="${SPELL}-scm.tar.xz"
  FORCE_DOWNLOAD="on"
   SOURCE_URL[0]="git_http://github.com/hyprwm/${SPELL}:${SPELL}-scm:main"
   SOURCE_IGNORE="volatile"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
else
         VERSION="0.2.1"
     SOURCE_HASH="sha512:5a86a7151abc58121e78dccff6fd2857fb7869349a10e18a7fd51a3552a2407244485a8887ca66600b1c4eebdd9e6a5e7576347f5158f61b747838a6c9484eb1"
          SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
   SOURCE_URL[0]="https://github.com/hyprwm/${SPELL}/archive/refs/tags/v${VERSION}.tar.gz"
# Watch: https://github.com/hyprwm/hyprwire/tags tags/v([0-9.]+)[.]tar
fi
        WEB_SITE="https://github.com/hyprwm/hyprwire"
         ENTERED="20251206"
      LICENSE[0]="BSD"
        KEYWORDS="ipc protocol"
           SHORT="fast and consistent wire protocol for IPC"
cat << EOF
Hyprwire is a fast and consistent wire protocol, and its implementation. This
is essentially a "method" for processes to talk to each other.
EOF
