A 60-year-old man has slowly progressive swelling of both legs, chronic sinusitis and a persistent right pleural effusion. His fingernails and toenails are thickened, hard, excessively curved and yellow-green in colour, and have stopped growing appreciably.
What is the most likely diagnosis?