. "${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.3.1"
     SOURCE_HASH="sha512:eb4d7d71d3101ad33897c06f08095d528a525880fbb20bb69b22d49bd8d920368cddea294125c814ebaf874574e63b268593b94443ab6cb6690d9990fe1d25f5"
          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
