#
################################################################################
-LIBFREEFARE_VERSION = 0.3.4
-LIBFREEFARE_SITE = http://libfreefare.googlecode.com/files
+LIBFREEFARE_VERSION = 0.4.0
+LIBFREEFARE_SOURCE = libfreefare-$(LIBFREEFARE_VERSION).tar.bz2
+# Do not use the github helper here, the generated tarball is *NOT*
+# the same as the one uploaded by upstream for the release.
+LIBFREEFARE_SITE = https://github.com/nfc-tools/libfreefare/releases/download/libfreefare-$(LIBFREEFARE_VERSION)
LIBFREEFARE_DEPENDENCIES = libnfc openssl
LIBFREEFARE_LICENSE = LGPLv3+ with exception
LIBFREEFARE_LICENSE_FILES = COPYING