           SPELL=tty-clock
if [[ $TTY_CLOCK_VCS == y ]]; then
  if [[ $TTY_CLOCK_AUTOUPDATE == y ]]; then
         VERSION=$(date +%Y%m%d)
  else
         VERSION=scm
  fi
          SOURCE="${SPELL}-scm.tar.bz2"
   SOURCE_URL[0]=git://github.com/xorg62/${SPELL}.git:${SPELL}-scm
   SOURCE_IGNORE=volatile
  FORCE_DOWNLOAD=on
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
else
         VERSION=2.3
          SOURCE=${SPELL}-${VERSION}.tar.gz
   SOURCE_URL[0]=https://github.com/xorg62/${SPELL}/archive/v${VERSION}.tar.gz
     SOURCE_HASH=sha512:ff3cfd5c6312377128b33c7e8c2138627b996d1b17730d8a8fdf55e95f2020e591e69317459aab8383d178f3cb71af046b84eeb81cabfa9b09a27008c5f4b626
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
fi
        WEB_SITE="http://github.com/xorg62/tty-clock"
      LICENSE[0]="BSD"
         ENTERED=20100307
        KEYWORDS=""
           SHORT="terminal digital clock"
cat << EOF
tty-clock displays a simple digital clock on the terminal.

Invoked without options it will display the clock on the upper left corner of
the screen on the terminal it was executed from.
EOF
