"Moreover much of Han Solo’s character, who isn’t in this for your revolution, comes straight out of Rick Blaine as played by Humphrey Bogart, who sticks his neck out for nobody. Much in the way that Han Solo is ready to take off with his reward as the rebel alliance launches their desperate attack on the looming Deathstar. Prior to owning the Café Américain, Rick smuggled guns, and was well paid, just as Solo smuggles whatever it is he dumps at the first sign of imperial trouble. He even adopted Rick’s use of the word ‘kid’. While the characters are hardly carbon copies of one another, Harrison Ford brings much of the same cool demeanor and cynicism to Han Solo. And in the end, both Han and Rick turn out to have a heart of gold."Not just Star Wars. As The Raider.net notices, George Lucas made it part of the Indiana Jones mix too.
Film This is really rather brilliant. Kitbashed notices that Star Wars is heavily influenced by Casablanca: