. "$GRIMOIRE/FUNCTIONS"

           SPELL=libstrophe
case "${LIBSTROPHE_BRANCH}" in
  scm)
         VERSION=$(get_scm_version)
  FORCE_DOWNLOAD=on
          SOURCE="${SPELL}-scm.tar.xz"
   SOURCE_URL[0]="git_http://github.com/strophe/${SPELL}.git:${SPELL}-scm"
   SOURCE_IGNORE=volatile
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-scm"
  ;;
  stable)
         VERSION=0.14.0
     SOURCE_HASH=sha512:435d6f8085bd04286ac0e0e2ea729b9df2947e3dd22be57628c66ca2e6ff92a40e3a93750d95bea64daab1c1109f3f55e8480348054e9c5cb267655c60078e23
          SOURCE=${SPELL}-${VERSION}.tar.xz
      SOURCE_URL=https://github.com/strophe/${SPELL}/releases/download/${VERSION}/${SOURCE}
# Watch: https://github.com/strophe/libstrophe/tags tags/([0-9.]+)[.]tar
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
  ;;
esac
        WEB_SITE="http://strophe.im/libstrophe/"
      LICENSE[0]=MIT
      LICENSE[1]=GPL
         ENTERED=20131013
           SHORT="minimal XMPP library written in C"
cat << EOF
libstrophe is a minimal XMPP library written in C. It has almost no
external dependencies, only an XML parsing library (expat or libxml are both
supported). It is designed for both POSIX and Windows systems.
EOF
