“...the yellow pumpkins lying beneath them, turning up their round bellies to the sun, and giving ample prospects of the most luxurious of pies...”The Legend of Sleepy Hollow, Washington Irving

An interactive etymology of the word pumpkin

Pumpkinn. a term for varieties of squash and some of the genus Cucurbita
IPA

/ˈpʌmp.kɪn/

Source: Wiktionary
Washington Irving, The Legend of Sleepy Hollow

“...the yellow pumpkins lying beneath them, turning up their round bellies to the sun, and giving ample prospects of the most luxurious of pies...”

Read the story: Project Gutenberg
Nathaniel Ward, 1647

“If he fears any such thing, that he would come over to us, to helpe recruite our pumpkin-blasted braines...”

“If he fears any such thing, he should come over to us to help replenish our pumpkin-blasted brains...”

Quotation and bibliographic source: Wordorigins.org
English construction
pump
-kindiminutive suffix
(Middle English)
(Middle French)pompon“melon”
(Latin)pepo“melon”
Apicius, De re coquinaria

“Pepones et melones”

“Pumpkins and melons.”

Read the Latin: LacusCurtius
(Ancient Greek)πέπων“ripe, sweet (of a person)”
Homer, Iliad 6.55

“ὦ πέπον, ὦ Μενέλαε”

“My good brother, Menelaus!”

The cited lexicon glosses this affectionate address as “good brother of mine.”

Text and lexicon citations: Scaife ATLAS / Perseus
Background leaf art: Wikimedia Commons