# Watch: https://gnutls.org/ >GnuTLS ([0-9.]+)<
           SPELL=gnutls
if [[ -z $GNUTLS_BRANCH ]]; then
  GNUTLS_BRANCH="stable"
fi

case $GNUTLS_BRANCH in
  stable-old)
         VERSION=3.6.15
  SECURITY_PATCH=5
  ;;
  stable)
         VERSION=3.8.11
  SECURITY_PATCH=9
  ;;
esac
          SOURCE=$SPELL-$VERSION.tar.xz
   SOURCE_URL[0]=https://gnupg.org/ftp/gcrypt/gnutls/v${VERSION%.*}/$SOURCE
         SOURCE2=$SOURCE.sig
  SOURCE2_URL[0]=${SOURCE_URL[0]}.sig
      SOURCE_GPG=gnu.gpg:$SOURCE2:UPSTREAM_KEY
  SOURCE2_IGNORE=signature
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
        WEB_SITE=https://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
