           SPELL=gpgme
  SECURITY_PATCH=1

###
# 2006-07-07
# GPGME_OLD -> GPGME_BRANCH

if [ "$GPGME_OLD" == "y" ]; then
  GPGME_BRANCH="0.3"
fi

if [ "$GPGME_OLD" == "n" ]; then
  GPGME_BRANCH="DEFAULT"
fi
###

if [ -z "$GPGME_BRANCH" ] || [ "$GPGME_BRANCH" == "DEFAULT" ]; then
  GPGME_BRANCH="1.1"
fi

case $GPGME_BRANCH in
  0.3)
         VERSION=0.3.16
     SOURCE_HASH=sha512:ba0d6701034066e7d796350040f1701964ee60b336e00bfc28b71329ded7256c85769f740507651f4d9e03a294a98085f0b3ebb71425bceb8f88753569643552
  ;;
  1.0)
         VERSION=1.0.3
     SOURCE_HASH=sha512:1239388cd5d1286aca7c1d1ebe1508263571b40988c4138e9eabe8b23e6310983cedbfde209e2968330671dc687610114115b5a5d6e44d04c9617ab3207504fa
  ;;
  1.1)
         VERSION=1.1.6
     SOURCE_HASH=sha512:831ffbdc05bdb2acce22cdf6a22022d818b903e65575b20e177c5bcee31bdb117d83ab2e2f1cd250f8d2af967fc73460ed04c4489a63c4f0994d928846dd69e3
  ;;
esac

          SOURCE=$SPELL-$VERSION.tar.gz
   SOURCE_URL[0]=ftp://ftp.gnupg.org/gcrypt/$SPELL/$SOURCE
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
      LICENSE[0]=GPL
        WEB_SITE=http://www.gnupg.org/gpgme.html
         ENTERED=20011031
        KEYWORDS="gnupg crypto"
           SHORT="GnuPG Made Easy (GPGME) is a library to accessing GnuPG" 

cat << EOF
GnuPG Made Easy (GPGME) is a library designed to make access to 
GnuPG easier for applications. It provides a High-Level Crypto 
API for encryption, decryption, signing, signature verification
and key management. Currently it uses GnuPG as it's backend
but the API isn't restricted to this engine; in fact it is planned 
to add other backends to it.
EOF
