What is the past tense of the word dream?

Dreamt would be my preference - but dreamed is right too. I think dreamt is the British version.