Tottenham have confirmed goalkeeper Heurelho Gomes will be leaving White Hart Lane when his contract expires in June.