Created attachment 144939 [details]
Add OPTIONal dependencies
Factor out libidn, libp11-kit and libtspi into OPTIONal dependencies as per upstream documentation 
Add CRYWRAP P11KIT TPM ZLIB to OPTIONS_DEFAULT to retain existing binary package compatibility. Feel free to modify.
Over to maintainer
I have not reviewed carefully, but the idea is fine so I approve.
A commit references this bug:
Date: Tue Jul 29 09:14:02 UTC 2014
New revision: 363301
security/gnutls: Support OPTIONal library dependencies
Factor out libidn, libp11-kit and libtspi into OPTIONal library
dependencies, with the CRYWRAP, P11KIT and TPM options respectively, as per
the upstream documentation .
Make ZLIB an OPTION because we can, and the choice to customise
compression support in security software (especially lately) may be
very useful for some consumers.
Add CRYWRAP, P11KIT, TPM and ZLIB to OPTIONS_DEFAULT to retain current
Inspired by: Recent gnutls 2 -> 3 change, fan of minimal dependencies
Submitted by: koobs
Approved by: maintainer