Cut the pumpkin into pieces and grate them coarsely. Put the grated pumpkin in a saucepan with the water, cover and simmer for approx. 10 minutes. Add the remaining ingredients and boil for three minutes more. Skim off any scum. Pour into warm, sterilised jars. Seal. Store in a cool place.
You can replace half the pumpkin with finely chopped apple.