From The Art and Popular Culture Encyclopedia
Spaceballs is a 1987 science fiction parody film co-written, directed by, and starring Mel Brooks. It was released on June 24, 1987, and earned only modest returns, but has gone on to become a seminal cult classic on video.
Its plot and characters contain numerous parodies of elements primarily from the original Star Wars trilogy, as well as Star Trek and other popular science fiction films. The script was written by Mel Brooks in only six months, and was approved by George Lucas, as he was a big fan of Brooks's previous films.