The current 1.0.3 ebuild worked with minor modifications. I'm attaching a diff.
Created attachment 49318 [details, diff] libotr-1.0.4.ebuild.diff
Committed thanks.