Doctor Zhivago actor Omar Sharif is to star in a modern-day version of William Shakespeare's King Lear, set in Egypt.