... checking for gethostent... yes checking for setsockopt... yes checking for getaddrinfo... yes checking for libgnutls-config... no checking for libgnutls - version >= 0.1.0... no *** The libgnutls-config script installed by LIBGNUTLS could not be found *** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the LIBGNUTLS_CONFIG environment variable to the *** full path to libgnutls-config. configure: error: could not find libgnutls 'libgnutls-config' and 'libgnutls-extra-config' scripts have been removed in >=net-libs/gnutls-2.7.1, so 'pkg-config gnutls' / 'pkg-config gnutls-extra' should be used.
I looked into this, and it doesn't look like a trivial fix to me. If you have a patch, feel free to fix, otherwise I'll have to rely on upstream to fix the issue.
if you got a patch, feel free to apply to the ebuild.
There is a working patch from debian at http://dev.mutt.org/trac/ticket/3239
I applied upstream's patch for this issue to our ebuild.