. "${GRIMOIRE}/FUNCTIONS"
           SPELL="bzip3"
if [[ "${BZIP3_BRANCH}" == "scm" ]]; then
         VERSION="$(get_scm_version)"
          SOURCE="${SPELL}-scm.tar.xz"
  FORCE_DOWNLOAD="on"
   SOURCE_URL[0]="git_http://github.com/kspalaiologos/${SPELL}:${SPELL}-scm"
   SOURCE_IGNORE="volatile"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
else
         VERSION=1.5.3
     SOURCE_HASH=sha512:390d8f1b16838ce552a149aead8b60b520d69d7e3c75660dbeefb7772365aa02846a0dbc88f1d4fca28b5138d8c1a24e712765e0cfdb00a5ae0a35830a1a95ed
          SOURCE="${SPELL}-${VERSION}.tar.xz"
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
   SOURCE_URL[0]="https://github.com/kspalaiologos/${SPELL}/releases/download/${VERSION}/${SOURCE}"
# Watch: https://github.com/kspalaiologos/bzip3/tags tags/([0-9.]+)[.]tar
fi
      LICENSE[0]="LGPL"
      LICENSE[1]="APACHE"
        KEYWORDS="archive compressor"
        WEB_SITE="https://github.com/kspalaiologos/bzip3"
         ENTERED="20230806"
           SHORT="better and stronger spiritual successor to BZip2"
cat << EOF
A better, faster and stronger spiritual successor to BZip2. Features higher
compression ratios and better performance thanks to a order-0 context mixing
entropy coder, a fast Burrows-Wheeler transform code making use of suffix
arrays and a RLE with Lempel Ziv+Prediction pass based on LZ77-style string
matching and PPM-style context modeling.
EOF
