Compound of paman (“uncle”) + English Sam, literally “Uncle Sam”, calque of English Uncle Sam.
Paman Sam