Here it is. Who ported this ages ago?
[EDIT II]
It was Adam B.
https://www.mobileread.com/forums/sho...3213#post63213
http://projects.mobileread.com/iliad.../xchm/xchm.zip
I tested it sometimes, I can't remember whether it is useable or not.
[edit:] not stripped libs, hacked libX11 only