Obama calls Trump egotistical, incompetent