. "$GRIMOIRE/FUNCTIONS"
           SPELL=tidy
if [[ "${TIDY_BRANCH}" == "scm" ]]; then
         VERSION=$(get_scm_version)
          SOURCE=$SPELL-cvsroot.tar.bz2
   SOURCE_URL[0]=cvs://:pserver:anonymous@tidy.cvs.sourceforge.net:/cvsroot/tidy:tidy
   SOURCE_IGNORE=volatile
  FORCE_DOWNLOAD=on
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-cvsroot

else
         SPELLX=tidy-html5
        VERSION=5.4.0
    SOURCE_HASH=sha512:d92c89f2ef371499f9c3de6f9389783d2449433b4da1f5a29e2eb81b7a7db8dd9f68e220cdde092d446e9bd779bcbc30f84bda79013526540f29d00f438cb402
          SOURCE=${SPELLX}-${VERSION}.tar.gz
SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${SPELLX}-${VERSION}
   SOURCE_URL[0]=https://github.com/htacg/$SPELLX/releases/download/$VERSION/$SOURCE
fi
        WEB_SITE=http://www.html-tidy.org
         ENTERED=20021002
      LICENSE[0]=W3C
        KEYWORDS="html editors"
           SHORT="Tidy cleans up bad HTML"
cat << EOF
Tidy is a console application for Mac OS X, Linux, Windows, UNIX, and more. It corrects and 
cleans up HTML and XML documents by fixing markup errors and upgrading legacy code to modern 
standards.
libtidy is a C static and dynamic library that developers can integrate into their applications 
in order to bring all of Tidy’s power to your favorite tools. libtidy is used today in desktop 
applications, web servers, and more.
EOF
