Created attachment 462008 [details, diff] Patch changing the handling of the ssl related USE flags The current ebuilds of mutt uses the ssl flag different to most other ebuilds and opposite to the example given in the devmanual [0]. In the current version ssl is meant as "use openssl", instead of a generic "use any ssl, and default to openssl". Due to this manual configuration is required when using USE=ssl,libressl as it will always enable openssl. I've attached a patch I've created following the guidelines of the libressl project [1]. I am not quite sure about the gnutls handling, as mutt seems to be special in regards to that, but it [0] https://devmanual.gentoo.org/general-concepts/use-flags/ [1] https://wiki.gentoo.org/wiki/Project:LibreSSL
This won't work AFAICS, libressl could be made more transparent likely.
nevertheless, this needs work, will look at it later.
I've used most of your patch, just refining the configure arguments. Thanks!
Nice, thanks for the quick response.