Created attachment 443824 [details, diff] icaclient-13.3.0.344519-r1.ebuild.patch The selfservice dependences are rather heavy (e.g., webkit-gtk), and the receiver works quite well without them. I have modified the ebuild to add a non-default USE flag "receiver-only" which allows users to install only the deps needed for the receiver to function (ebuild patch attached). Caveat: I have only tested this on the one Citrix app I use, Charles Schwab Streetsmart Edge.
So you've modified the dependencies but the selfservice executable still gets installed. Any reason for that? Please rename "receiver-only" USE flag to "minimal". Also your change is not really easy to maintain. Please combine all dependencies into one single USE dependency: !minimal? ( dep1 dep2 dep3 dep4 ... ) Put this block at the end of the dependencies and make sure the list is alphabetically sorted.
Created attachment 443854 [details, diff] icaclient-13.3.0.344519-r1.ebuild.patch It was an oversight to install selfservice and ServiceRecord, though the OEM "receiver only" deb package does install them. Installing these are now contingent on the "minimal" USE flag, which I have implemented as you specified. Finally, I added the libXpm and libidn dependencies, which are required according the deb packages.
We also need to avoid webkit-gtk:2 dep because it's going to be removed in the near future due to its security issues and because of being unmaintained for years
heavily outdated