require gnupg.inc

DEPENDS += "readline"
EXTRA_OECONF += "--with-readline=${STAGING_LIBDIR}/.."
#   --without-readline      do not support fancy command line editing

SRC_URI += "file://15_free_caps.patch;patch=1 \
	    file://16_min_privileges.patch;patch=1 \
	    file://22_zero_length_mpi_fix.patch;patch=1 \
            file://30_nm_always_check.patch;patch=1"

S = "${WORKDIR}/gnupg-${PV}"

FILE_PR = "r2"