World number one Novak Djokovic beat second seed Andy Murray 3-6 6-1 6-2 6-4 to win his maiden French Open title on Sunday.