Remove the skin and seeds from the pumpkin and cut it into small pieces.
Slice the onion.
Melt butter in a pot, then sauté the onion and pumpkin.
Add water or vegetable broth and bring to a boil.
Once ingredients are cooked, blend until smooth.
Add milk or heavy cream and simmer again.
Season with salt and pepper to taste.