. "$GRIMOIRE/FUNCTIONS"
           SPELL="usbguard"
if [[ "${USBGUARD_BRANCH}" == "scm" ]]; then
         VERSION="$(get_scm_version)"
          SOURCE="${SPELL}-scm.tar.xz"
SOURCE_DIRECTORY="${bUILD_DIRECTORY}/${SPELL}-scm"
   SOURCE_URL[0]="git_http://github.com/USBGuard/${SPELL}:${SPELL}-scm:main"
   SOURCE_IGNORE="volatile"
  FORCE_DOWNLOAD="on"
else
         VERSION="1.1.2"
     SOURCE_HASH="sha256:dcf5c90f3f93030e04df1baeb8d388b678c40dd48b135ea12a7be7dee8944934:UPSTREAM_HASH"
          SOURCE="${SPELL}-${VERSION}.tar.gz"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
   SOURCE_URL[0]="https://github.com/USBGuard/${SPELL}/releases/download/${SPELL}-${VERSION}/${SOURCE}"
# Watch: https://github.com/USBGuard/usbguard/tags tag/usbguard-([0-9.]+)
fi
        WEB_SITE="https://usbguard.github.io/"
         ENTERED="20230827"
      LICENSE[0]="GPL"
        KEYWORDS="usb authorization"
           SHORT="software framework for implementing USB device authorization policies"
cat << EOF
USBGuard is a software framework for implementing USB device authorization
policies (what kind of USB devices are authorized) as well as method of use
policies (how a USB device may interact with the system). Simply put, it is a
USB device allowlisting tool.
EOF
