           SPELL=tesseract
         VERSION=2.04
         LANGVER=2.00
     SOURCE_HASH=sha512:c095407910235f7f914aa6a51feedade3f0b33108c7801b88c5ade26f2b75d1756b034d9ac32ad362a326ee468f97b69476978102ef0cefcc1b5c93be2342d42
             URI=http://tesseract-ocr.googlecode.com/files
          SOURCE=$SPELL-$VERSION.tar.gz
   SOURCE_URL[0]=$URI/$SOURCE

for LL in $TESS_LANG; do
 case $LL in
   eng)
         SOURCE2=$SPELL-$LANGVER.eng.tar.gz
  SOURCE2_URL[0]=$URI/$SOURCE2
    SOURCE2_HASH=sha512:f2aa2e1aa8f20c59faa664675f85ca8c1dcc922803f17cc00519f84a01c0c98ba431915ba5765d5de75200d828687507846af7e9e0096f3a4fdf1163e54cb83d
    ;;
   fra)
         SOURCE3=$SPELL-$LANGVER.fra.tar.gz
  SOURCE3_URL[0]=$URI/$SOURCE3
    SOURCE3_HASH=sha512:46686d6296446c59d020731e2d36e015717a750f6a41401c38794e7e8067dbd0299b838260a9ea9d5da3ddc289e0320ed71437f67ea99f93e79895e4aaf9cdc8
    ;;
   ita)
         SOURCE4=$SPELL-$LANGVER.ita.tar.gz
  SOURCE4_URL[0]=$URI/$SOURCE4
    SOURCE4_HASH=sha512:75cb670c1fe202878c220029d113e0795844f94901a6a0e31201c43d5694e1995c11760229ef6dc5222ff1fe49ee87ee1cdf073e80347e2862e71f045ce4a2db
    ;;
   nld)
         SOURCE5=$SPELL-$LANGVER.nld.tar.gz
  SOURCE5_URL[0]=$URI/$SOURCE5
    SOURCE5_HASH=sha512:0a2b7f13d784d210f5284de1a02c9b3849c4b36a27cf6276b5d9d444607bf52b909f8edfa07b5b1e0ee6bf59504bb9c92a47297ce31efa351aaa6b81c038b0ef
    ;;
   spa)
         SOURCE6=$SPELL-$LANGVER.spa.tar.gz
  SOURCE6_URL[0]=$URI/$SOURCE6
    SOURCE6_HASH=sha512:a7efb46c5cc3812789f3dacf151e547007c3de1eed3d4a6a5c55cc18d4e1794377f34b55fd9e6a416f91a0ff62a66c0825a1993029ce4656ea64fcc18b9fa3fe
    ;;
   deu)
         SOURCE7=$SPELL-$LANGVER.deu.tar.gz
  SOURCE7_URL[0]=$URI/$SOURCE6
    SOURCE7_HASH=sha512:e1792055d666c6090c4094b032d0143fd6bd5545c2d2e926f71bb360c6628ae5550f158df8efe47b69c987ac9cef8bd914fedcad2bd5b79901a41506ad8a60f2
    ;;
   *)
    message language $LL not yet supported
    ;;
  esac
done
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
        WEB_SITE=http://code.google.com/p/tesseract-ocr/
      LICENSE[0]=APACHE
         ENTERED=20060509
      PATCHLEVEL=1
        KEYWORDS="ocr"
           SHORT="ocr engine"
cat << EOF
A commercial quality OCR engine originally developed at HP between 1985 and 1995. 
In 1995, this engine was among the top 3 evaluated by UNLV. It was open-sourced by 
HP and UNLV in 2005
EOF
