           SPELL=gnutls

if [[ -z $GNUTLS_BRANCH ]]; then
  GNUTLS_BRANCH="stable"
fi

case $GNUTLS_BRANCH in
  stable)
         VERSION=3.3.21
  SECURITY_PATCH=14
  ;;
  stable-old)
         VERSION=3.1.28
  SECURITY_PATCH=13
  ;;
esac
          SOURCE=$SPELL-$VERSION.tar.xz
         SOURCE2=$SOURCE.sig
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$SPELL-$VERSION
   SOURCE_URL[0]=ftp://ftp.gnutls.org/gcrypt/gnutls/v${VERSION%.*}/$SOURCE
  SOURCE2_URL[0]=${SOURCE_URL[0]}.sig
      SOURCE_GPG=gnu.gpg:$SOURCE2:UPSTREAM_KEY
  SOURCE2_IGNORE=signature
        WEB_SITE=http://www.gnutls.org/
      LICENSE[0]=LGPL
      LICENSE[1]=GPL
         ENTERED=20030829
        KEYWORDS="security crypto"
           SHORT="GNU Transport Layer Security Library"
cat << EOF
GnuTLS (GNU Transport Layer Security Library) is a library which implements
a secure layer over a reliable transport layer. Currently the GnuTLS library
implements the proposed standards by the IETF's TLS working group.

Quoting from RFC2246 - the TLS 1.0 protocol specification:

"The TLS protocol provides communications privacy over the Internet.
 The protocol allows client/server applications to communicate in a way that
 is designed to prevent eavesdropping, tampering, or message forgery."
EOF
