Sorry about the buggy patch last time. That was my inexperience with the subtleties of defcustom. This patch has the same behavior and nearly the same code and is better tested.
mu4e: add custom variable for list of visible header flags - take 2
Thanks! Could make a pull-request against the 'dev' branch? Sadly, github won't let me change the target branch :/